class_name BuffComponent
extends BaseComponent

func add_buff_by_id(buff_id:String,provider):
	GameBuffSystem.add_buff_by_id(provider,self,buff_id)
func remove_buff_by_type(buff_type:GameEnum.BuffType):
	GameBuffSystem.remove_buff_by_type(self,buff_type)
func remove_buff_by_tag(buff_tag:GameEnum.BuffTag):
	GameBuffSystem.remove_buff_by_tag(self,buff_tag)
func remove_all_buff():
	GameBuffSystem.remove_all_buff(self)
	
func _init() -> void:
	component_name = "BuffComponent"
